package com.example.kt_me.bean

/**
 */
data class Banner(
    val desc: String,
    val id: Int,
    val imagePath: String,
    val isVisible: Int,
    val order: Int,
    val title: String,
    val type: Int,
    val url: String,
    val imageRes: Int
) {
    // 次级构造函数，仅接受 id 参数，其他参数使用默认值
    constructor(imageRes: Int) : this(
        desc = "",
        id = 0,
        imagePath = "",
        isVisible = 1,
        order = 0,
        title = "",
        type = 0,
        url = "",
        imageRes = imageRes
    )
}
